//
// Created by 28365 on 2025/3/5.
//

#include "../include/config/handler/event/UpdatingEvent.h"

size_t UpdatingEvent::getFileSize() const {
    return fileSize;
}

ofstream *UpdatingEvent::getOutStream() const {
    return outStream;
}

UpdatingEvent::UpdatingEvent(const Res *res, int version, size_t fileSize, ofstream *outStream) : UpdateEvent(res, version),
                                                                                            fileSize(fileSize),
                                                                                            outStream(outStream) {}
